<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
	<div class="project_contents">
		<h1>Summary</h1>
		<div class="project_in">
			<div id="tracer_box">
				<ul>
					<li><h2>업무 추적</h2></li>
					<li><span id="span_newFunction" onclick="workList_searchWork_type('새기능')">새기능</span> :  
						<c:if test="${workInfo.newFunction == 0 }">
							총 ${workInfo.newFunction } 건 모두 완료
						</c:if>
						<c:if test="${workInfo.newFunction != 0 }">
							${workInfo.newFunction } 건 진행 중 / ${workInfo.totalWork } 건
						</c:if>
					</li>
					<li><span id="span_defect" onclick="workList_searchWork_type('결함')">결함</span> : 
						<c:if test="${workInfo.defect == 0 }">
							총 ${workInfo.defect } 건 모두 완료
						</c:if>
						<c:if test="${workInfo.defect != 0 }">
							${workInfo.defect } 건 진행 중 / ${workInfo.totalWork } 건
						</c:if>
					</li>
					<li><hr></li>
					<li><span id="span_newWork" onclick="workList_searchWork_state('신규')">신규 업무</span> : ${workInfo.newWork } / ${workInfo.totalWork } 개 진행중</li>
					<li><span id="span_progressWork" onclick="workList_searchWork_state('진행')">진행 업무</span> : ${workInfo.progressWork } / ${workInfo.totalWork } 개 진행중</li>
					<li><span id="span_completeWork" onclick="workList_searchWork_state('완료')">완료 업무</span> : ${workInfo.completeWork } / ${workInfo.totalWork } 개 진행중</li>
					<li><span id="span_rejectWork" onclick="workList_searchWork_state('거절')">거절 업무</span> : ${workInfo.rejectWork } / ${workInfo.totalWork } 개 진행중</li>
					<li><span id="span_etc"><span id="span_allWork" onclick="project_worklist();">모든 일감 보기</span> | <span id="span_calendar" onclick="project_calendar()">달력</span> | <span id="span_gantt" onclick="project_gantt()">간트차트</span></span></li>
				</ul>
			</div>
			<dl>
				<dt id="sum_name">${project.projectName }</dt>
				<dd id="sum_content">${project.projectSummary }</dd>
			</dl>
		
		</div>
